package com.kingdee.eas.basedata.master.material;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.basedata.framework.IDataBaseD;
import java.util.Map;
import java.math.BigDecimal;
import java.util.HashMap;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import java.util.Set;
import java.util.HashSet;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import java.util.ArrayList;
import com.kingdee.bos.util.BOSUuid;
import java.util.List;

public interface IMaterial extends IDataBaseD
{
    public MaterialInfo getMaterialInfo(IObjectPK pk) throws BOSException, EASBizException;
    public MaterialInfo getMaterialInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public MaterialCollection getMaterialCollection() throws BOSException;
    public MaterialCollection getMaterialCollection(EntityViewInfo view) throws BOSException;
    public void approve(IObjectPK pk) throws BOSException, EASBizException;
    public void unapprove(IObjectPK pk) throws BOSException, EASBizException;
    public void freeze(IObjectPK pk) throws BOSException, EASBizException;
    public void unfreeze(IObjectPK pk) throws BOSException, EASBizException;
    public void multiUnit(IObjectPK pk) throws BOSException, EASBizException;
    public void adfunct(IObjectPK pk) throws BOSException, EASBizException;
    public void showPicture(IObjectPK pk) throws BOSException, EASBizException;
    public MaterialPurchasingInfo getPurchasingInfo(String matid, String ouid) throws BOSException, EASBizException;
    public MaterialSalesInfo getSalesInfo(String matid, String ouid) throws BOSException, EASBizException;
    public MaterialInventoryInfo getInventoryInfo(String matid, String ouid) throws BOSException, EASBizException;
    public MaterialCompanyInfoInfo getCompanyInfo(String matid, String ouid) throws BOSException;
    public void adjustStandardCost(String companyOrgUnitID, String[] materialIDs, BigDecimal[] standartdcost) throws BOSException, EASBizException;
    public int mulApproveBase(ArrayList idList) throws BOSException, EASBizException;
    public int mulApproveCompany(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulApprovePurchase(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulApproveSale(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulApproveInventory(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulApproveCost(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public void updateCheck(IObjectPK pk, String propertyFieldName, MaterialInfo oldInfo, MaterialInfo newInfo) throws BOSException, EASBizException;
    public MaterialCollection getMaterialCollectionByFI(ArrayList materials, String companyID) throws BOSException;
    public boolean isBizRef(BOSUuid pk) throws BOSException;
    public List getMaterialsExistInvInfo(String[] materialIDs, String inventoryID) throws BOSException;
    public Map getMeasureUnitMap(String materialID) throws BOSException, EASBizException;
    public HashMap verifyMaterialInvInfos(HashMap hashMap) throws BOSException;
    public int mulUnApproveBase(ArrayList idList) throws BOSException, EASBizException;
    public int mulUnApproveCompany(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulUnApprovePurchase(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulUnApproveSale(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulUnApproveInventory(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulUnApproveCost(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public void batchAssign2(String cuid, String[] diddata, String[] cuiddata, HashSet assistData) throws BOSException, EASBizException;
    public void batchAssign2(String cuid, String sql, HashSet basedata, HashSet cuData, HashSet assistData) throws BOSException, EASBizException;
    public void batchAssignAssist(String cuid, String[] diddata, String[] cuiddata, HashSet assistData) throws BOSException, EASBizException;
    public void batchAssignAssist(String cuid, String sql, HashSet basedata, HashSet cuData, HashSet assistData) throws BOSException, EASBizException;
    public int mulApprovePlan(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public int mulUnApprovePlan(String ouID, ArrayList idList) throws BOSException, EASBizException;
    public Map transformToTree(Set databaseIDs, int groupLevel) throws BOSException, EASBizException;
    public MaterialPlanInfo getPlanInfo(String matid, String ouid) throws BOSException, EASBizException;
    public Map getEditUIInitData(String materialID) throws BOSException, EASBizException;
    public void batchUnAssignAssist(String cuId, String[] orgIds, String[] dataIds, HashSet assistDataSet) throws BOSException, EASBizException;
    public void batchUnAssignAssist(String cuId, String[] orgIds, String dataSql, String[] notInDataIds, HashSet assistDataSet) throws BOSException, EASBizException;
    public String readNewNumber(String cuId, MaterialInfo materialInfo) throws BOSException, EASBizException;
}